import { permissionService } from '../services/permission.service';
import { PermissionCreateDto, PermissionListDto, PermissionSingleDto, PermissionUpdateDto } from '../dtos/permission.dto';
import { BaseController } from './.controller';
import PermissionModel from '../models/permission.model';

class PermissionController extends BaseController<PermissionModel, PermissionListDto, PermissionSingleDto, PermissionCreateDto, PermissionUpdateDto> {
  constructor() {
    super(permissionService);
  }
}

export const permissionController = new PermissionController();
